package com.day1012.afternoon;

public class Text1 {
    public static void main(String[] args) {
        Thread1 thread1 = new Thread1();
        Thread thread = new Thread(thread1);
        thread.start();
        thread.setPriority(Thread.MAX_PRIORITY);
        Thread2 thread2 = new Thread2();
        Thread threads = new Thread(thread2);
        threads.start();
    }
}
